// /*
//  * @Author: wangke
//  * @Date: 2025-07-30 00:56:59
//  * @LastEditors: wangke
//  * @LastEditTime: 2025-07-30 01:02:22
//  * 
//  */
// #include "App_ScreenNew.h"

// const char* szNames[] = { "Unknown", "FT6x36", "GT911", "CST820" };
// /*Change to your screen resolution*/
// static const uint16_t screenWidth = 240;
// static const uint16_t screenHeight = 240;
// static lv_disp_draw_buf_t draw_buf;
// static lv_color_t buf[screenWidth * 10];
// TFT_eSPI tft = TFT_eSPI(screenWidth, screenHeight); /* TFT instance */

// void App_DispFlush(lv_disp_drv_t* disp, const lv_area_t* area, lv_color_t* color_p) {
//   uint32_t w = (area->x2 - area->x1 + 1);
//   uint32_t h = (area->y2 - area->y1 + 1);
//   tft.startWrite();
//   tft.setAddrWindow(area->x1, area->y1, w, h);
//   tft.pushColors((uint16_t*)&color_p->full, w * h, true);
//   tft.endWrite();
//   lv_disp_flush_ready(disp);
// }